package com.example.quickstartconsumer.client;

import com.example.quickstartconsumer.dto.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

@FeignClient("quickstart-provider")
public interface UserClient {

    @GetMapping("/user/all")
    public List<User> getAllUser();

}
